{config_load file="$language/lang.conf" section="account_history_info"}
{config_load file="$language/lang.conf" section="print_order"}
{config_load file="$language/lang.conf" section="product_info"}
<h1 class="contentBoxHeading">{#heading_history_info#}</h1>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="50%"><strong><font size="2" face="Verdana, Arial, Helvetica, sans-serif">{#text_oid#}{$ORDER_NUMBER} 
      ({$ORDER_STATUS})<br />
      </font></strong><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> 
      <font size="1">{#text_date#} {$ORDER_DATE} </font></font></td>
    <td>&nbsp;</td>
  </tr>
</table>
<br />
  <strong> </strong>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td style="border-top: 1px solid; border-color: #cccccc;"width="240"><strong>{#text_shipping_address#}</strong><br />
      {$DELIVERY_LABEL}</td>
    <td style="border-top: 1px solid; border-color: #cccccc;">{if $BILLING_LABEL}<strong>{#text_payment_address#}</strong><br />
      {$BILLING_LABEL}{/if}</td>
  </tr>
</table>
<br />
<strong>{#text_shipping_method#} </strong>{$SHIPPING_METHOD} <strong><br />
{if $PAYMENT_METHOD}{#text_payment_method#}</strong> {$PAYMENT_METHOD} <br />{/if}
<br />
{if $ORDER_COMMENTS!=''} <strong>{#text_comments#}</strong> 
<table width="100%" border="0" cellspacing="0" cellpadding="4">
  <tr> 
    <td style="border: 1px solid; border-color: #cccccc;"><!--{$ORDER_COMMENTS}--></td>
  </tr>
</table>
{/if} 
{if $PAYMENT_INFORMATION!=''}
<strong>{#text_payment_info#}</strong> 
<table width="100%" border="0" cellspacing="0" cellpadding="4">
  <tr> 
    <td style="border: 1px solid; border-color: #cccccc;">{$PAYMENT_INFORMATION}</td>
  </tr>
</table>
{/if}
<strong>{#title_history#}</strong> 
<table width="100%" border="0" cellspacing="0" cellpadding="4">
  <tr> 
    <td style="border: 1px solid; border-color: #cccccc;">{$HISTORY_BLOCK}</td>
  </tr>
</table>
<strong>{#text_products#}</strong> <br />
<table width="100%" border="0" cellspacing="0" cellpadding="4">
  <tr> 
    <td style="border: 1px solid; border-color: #cccccc;"> 
      
	  
	  <table style="border-bottom:1px solid;" width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr> 
    <td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong>{#heading_products#}</strong></font></td>
  </tr>
  <tr>
    <td>
	<table width="100%" border="0" cellpadding="3" cellspacing="0">
        <tr> 
          <td colspan="2" class="infoBoxHeading"><div align="center"><strong><font size="1" face="Verdana, Arial, Helvetica, sans-serif">{#head_units#}</font></strong></div></td>
          <td class="infoBoxHeading"><strong><font size="1" face="Verdana, Arial, Helvetica, sans-serif">{#head_products#}</font></strong></td>
          <td class="infoBoxHeading"><strong><font size="1" face="Verdana, Arial, Helvetica, sans-serif">{#head_artnr#}</font></strong></td>
          <td class="infoBoxHeading"><strong><font size="1" face="Verdana, Arial, Helvetica, sans-serif">{#head_single_price#}</font></strong></td>
          <td class="infoBoxHeading" width="150"><div align="right"><strong><font size="1" face="Verdana, Arial, Helvetica, sans-serif">{#head_price#}</font></strong></div></td>
        </tr>
        {foreach name=aussen item=order_values from=$order_data} 
        <tr> 
          <td width="20" style="border-right: 2px solid; border-bottom: 2px solid; border-color: #ffffff;"><div align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">{$order_values.PRODUCTS_QTY}</font></div></td>
          <td width="20" style="border-right: 2px solid; border-bottom: 2px solid; border-color: #ffffff;"><div align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">x</font></div></td>
          <td style="border-right: 2px solid; border-bottom: 2px solid; border-color: #ffffff;"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong>{$order_values.PRODUCTS_NAME}</strong><em>{$order_values.PRODUCTS_ATTRIBUTES}</em>{if $order_values.PRODUCTS_SHIPPING_TIME neq ''}<br />
            {#text_shippingtime#} {$order_values.PRODUCTS_SHIPPING_TIME}<br />{/if}</font></td>
          <td style="border-right: 2px solid; border-bottom: 2px solid; border-color: #ffffff;"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">{$order_values.PRODUCTS_MODEL}<em>{$order_values.PRODUCTS_ATTRIBUTES_MODEL}</em></font></td>
          <td style="border-right: 2px solid; border-bottom: 2px solid; border-color: #ffffff;"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">{$order_values.PRODUCTS_SINGLE_PRICE}</font></td>
          <td style="border-right: 2px solid; border-bottom: 2px solid; border-color: #ffffff;" width="150"><div align="right"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">{$order_values.PRODUCTS_PRICE}</font></div></td>
        </tr>
        {/foreach} </table>
	</td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td>
	<table width="100%" border="0" cellpadding="3" cellspacing="0">
  {foreach name=aussen item=order_total_values from=$order_total}
  <tr> 
    <td nowrap="nowrap" width="100%" style="border-right: 2px solid; border-bottom: 2px solid; border-color: #ffffff;"><div align="right"><font size="1" face="Arial, Helvetica, sans-serif">{$order_total_values.TITLE} 
              {$order_total_values.TEXT}</font></div></td>
  </tr>
  {/foreach} 
</table>
</td>
  </tr>
</table>	  
	  
	  
	  </td>
  </tr>
</table>
{if $downloads_content neq ''}
  {$downloads_content}
{/if}
<div align="right"><br />
  <table width="100%"  border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td><span><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>
        {#title_print#}
      </strong></font><br />
      {#text_print#}
      <br />
      {$BUTTON_PRINT}
      <br />
      {$BUTTON_SCHET_PRINT}
      <br />
      {$BUTTON_PACKINGSLIP_PRINT}
      <br />
      {$BUTTON_KVITANCIA_PRINT}
      </span></td>
      <td align="right" valign="top">{$BUTTON_BACK}</td>
    </tr>
  </table>
  <br />
</div>
